package com.ruoyi.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 优惠券组对象
 */
@Data
public class VerCouponGroup extends BaseEntity {
    /** 主键ID */
    private Long id;

    /** 优惠券组名 */
    @Excel(name = "优惠券组名")
    private String name;

    /** 删除标识 0未删除 1已删除 */
    private Integer isDelete;

    /** 删除时间 */
    private Date deleteTime;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("deleteTime", getDeleteTime())
                .append("isDelete", getIsDelete())
                .toString();
    }
}
